package com.wanmait.deliverymangementsystem.mapper;

import com.wanmait.deliverymangementsystem.pojo.HistoryOrders;

import java.util.List;

public interface HistoryOrdersMapper {

    List<HistoryOrders> findAllByUserID(Integer UserID);

    List<HistoryOrders> findAll();
    void insert(HistoryOrders orders);
  void updateStatusByTaskID(Integer taskID);

  void  deleteAdminByID(Integer ID);
  void  deleteRunnerByID(Integer id);

  void deleteUserByID(Integer ID);

    void  deleteAdminByTasksID(Integer ID);
    void  deleteRunnerByTasksID(Integer id);

    void deleteUserByTasksID(Integer ID);
}